package xiangmu.schoolpaper.pojo.entity;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.time.LocalDateTime;
import java.util.Date;

/**
 * 数据字典_抽检要素表
 * @TableName dict_factor
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
@TableName(value ="dict_factor")
public class DictFactor {
    /**
     * 抽检要素ID
     */
    @TableId(value = "factor_id")
    private Integer factorId;

    /**
     * 父ID
     */
    @TableField(value = "parent_id")
    private Integer parentId;

    /**
     * 要素名称
     */
    @TableField(value = "factor_name")
    private String factorName;

    /**
     * 详情
     */
    @TableField(value = "factor_detail")
    private String factorDetail;

    /**
     * 创建时间
     */
    @TableField(value = "created_time")
    private LocalDateTime createdTime;

    /**
     * 修改时间
     */
    @TableField(value = "updated_time")
    private LocalDateTime updatedTime;

    /**
     * 删除标志（1代表存在 0代表删除）
     */
    @TableField(value = "del_flag")
    private String delFlag;
}